$OpenBSD: patch-tests_runConfigure,v 1.1.1.1 2008/10/26 23:15:18 ajacoutot Exp $
--- tests/runConfigure.orig	Sun Oct 26 19:59:26 2008
+++ tests/runConfigure	Sun Oct 26 20:00:24 2008
@@ -45,7 +45,7 @@ usage()
     echo "Usage: runConfigure \"options\""
     echo "       where options may be any of the following:"
     echo "       -p <platform> (accepts 'aix', 'beos', 'linux', 'freebsd', 'netbsd',
-            'solaris', 'hp-10', 'hp-11', 'openserver', 'unixware',
+            'openbsd', 'solaris', 'hp-10', 'hp-11', 'openserver', 'unixware',
             'os400', 'os390', 'irix', 'ptx', 'tru64', 'macosx', 'cygwin', 'qnx',
             'interix', 'mingw-msys')
             [required: no default]"
@@ -196,7 +196,7 @@ echo "Extra link options: $linkeroptions"
 # Now check if the options are correct or not, bail out if incorrect
 #
 case $platform in
-   aix | openserver | unixware | beos | linux | freebsd | netbsd | solaris | hp-10 | hp-11 | os400 | os390 | irix | ptx | tru64 | macosx | cygwin | qnx | interix | mingw-msys)
+   aix | openserver | unixware | beos | linux | freebsd | netbsd | openbsd | solaris | hp-10 | hp-11 | os400 | os390 | irix | ptx | tru64 | macosx | cygwin | qnx | interix | mingw-msys)
        # platform has been recognized
        ;;
    *)
@@ -269,6 +269,9 @@ else
         threadingLibs="-pthread -lc_r"
         threadingDefines="-D_THREAD_SAFE -DXML_USE_PTHREADS"
     elif test $platform = "netbsd"; then
+        threadingLibs="-pthread"
+        threadingDefines="-D_THREAD_SAFE -DXML_USE_PTHREADS"
+    elif test $platform = "openbsd"; then
         threadingLibs="-pthread"
         threadingDefines="-D_THREAD_SAFE -DXML_USE_PTHREADS"
     elif test $platform = "aix"; then
